package com.cskaoyan.bean.vo;

import com.cskaoyan.bean.entity.*;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 *  商品上架Bo
 *
 */
@Data
@NoArgsConstructor
public class GoodsInfoVo {

    //商品参数列表

    List<GoodsAttribute> attributes;

    // 商品表
    Goods goods;

    // 商品货品列表

    List<Product> products;

    // 商品规格列表

    List<GoodsSpecification> specifications;



    public GoodsInfoVo(List<GoodsAttribute> attributes, Goods goods, List<Product> products, List<GoodsSpecification> specifications) {
        this.attributes = attributes;
        this.goods = goods;
        this.products = products;
        this.specifications = specifications;
    }

}
